package com.delivery.www.po;

import com.delivery.www.util.AnnotationUtils;

/**
 * 投诉表
 * @author 12970
 */
@AnnotationUtils.Table("complaint")
public class Complaint {
    @AnnotationUtils.Field(columnName = "complaint_id")
    private Integer complaintId;
    @AnnotationUtils.Field(columnName = "user_id")
    private Integer userId;
    @AnnotationUtils.Field(columnName = "content")
    private String content;
    @AnnotationUtils.Field(columnName = "type")
    private Integer type;

    public Complaint() {
    }

    public Complaint(Integer complaintId, Integer userId, String content, Integer type) {
        this.complaintId = complaintId;
        this.userId = userId;
        this.content = content;
        this.type = type;
    }

    public Integer getComplaintId() {
        return complaintId;
    }

    public void setComplaintId(Integer complaintId) {
        this.complaintId = complaintId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}
